package weifei.live.simulation.im;


import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


@Data
public class GroupLiveStream
{
    public enum State
    {
        Living,
        Closed
    }

    @NotNull
    private Integer groupId;
    @NotBlank @NotNull
    private String name;
    private String videoURL;


    public GroupLiveStream() {}
    public GroupLiveStream(int groupId, String name, String videoURL)
    {
        this.groupId = groupId;
        this.name = name;
        this.videoURL = videoURL;
    }
}

